import { ApiProperty } from '@nestjs/swagger'
import { IsOptional, IsString } from 'class-validator'

export class QueryAppDto {
  @ApiProperty({ description: '首页资源标题', required: false })
  @IsOptional()
  @IsString()
  title?: string

  @ApiProperty({ description: '关联内容类型', required: false })
  @IsOptional()
  resourceType?: number
}
